package com.parking.pojo;

import java.time.DateTimeException;

public class Message {
    private Integer messageid;
    private String messagenumber;
    private String messagename;
    private DateTimeException messagein;
    private DateTimeException messageout;

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public String getMessagenumber() {
        return messagenumber;
    }

    public void setMessagenumber(String messagenumber) {
        this.messagenumber = messagenumber;
    }

    public String getMessagename() {
        return messagename;
    }

    public void setMessagename(String messagename) {
        this.messagename = messagename;
    }

    public DateTimeException getMessagein() {
        return messagein;
    }

    public void setMessagein(DateTimeException messagein) {
        this.messagein = messagein;
    }

    public DateTimeException getMessageout() {
        return messageout;
    }

    public void setMessageout(DateTimeException messageout) {
        this.messageout = messageout;
    }

    @Override
    public String toString() {
        return "Message{" +
                "messageid=" + messageid +
                ", messagenumber='" + messagenumber + '\'' +
                ", messagename='" + messagename + '\'' +
                ", messagein=" + messagein +
                ", messageout=" + messageout +
                '}';
    }
}
